<ion-card button="true">
    <ion-item lines="none" detail>
        <ion-text style="padding: 10px 0;">
            <div class="flex-hor-st-cnt">
                <ion-text color="dark">
                    <ion-text>{{ 'OrderMessage' | translate }}</ion-text>
                </ion-text>
                <ion-icon [name]="['mail-unread', 'mail-open'][readLabel]" [color]="['secondary', 'success'][readLabel]"
                    slot="end" class="ion-margin-start"></ion-icon>
            </div>

            <div class="item-margin-top">
                <ion-text color="care">
                    <ion-text class="item-text-three"
                        *ngIf="orderAccept === 1">
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您好，您预约的{{nameLabel}} {{messageLabel}} 的号已提交
                        </ion-text>
                        <ion-text *ngIf="sysLang == 'en-us'">
                            Hello, your reservation for Dr. {{nameLabel}} at {{messageLabel}} has already been
                            submitted.
                        </ion-text>
                    </ion-text>

                    <ion-text class="item-text-one" *ngIf="orderAccept === 2 && doctorType === 2">
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您好，{{nameLabel}}医生已接受了您 {{messageLabel}} 的预约
                            <div class="item-text-four">
                                {{nameLabel}}医生的中文助理将会在确认预约后24~48小时就具体的细节通过您注册的邮箱{{pttEmail}}与您联系，近期请持续关注您的收件箱 谢谢
                            </div>
                        </ion-text>
                        <ion-text *ngIf="sysLang == 'en-us'">
                            Hello, {{nameLabel}} has accepted your reservation at {{messageLabel}}.
                            <div class="item-text-four">
                                The doctor {{nameLabel}} 's Chinese assistant will contact you within 24 to 48 hours after your reservation.You will receive an email at {{pttEmail}} to give you more details. Please check your inbox recently. Thank you.
                            </div>
                        </ion-text>
                    </ion-text>

                    <ion-text class="item-text-one" *ngIf="orderAccept === 2 && doctorType === 3">
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您好，{{nameLabel}}已接受了您 {{messageLabel}} 的预约
                            <div>
                                请确认预约信息，提前往预约地址进行检测，谢谢
                            </div>
                            <div>地址：{{doctorAddress}}</div>
                            <div>电话：{{doctorPhone}}</div>
                        </ion-text>
                        <ion-text *ngIf="sysLang == 'en-us'">
                            Hello, {{nameLabel}} has accepted your reservation at {{messageLabel}}.
                            <div>
                                Pls take it to the address below for testing. Thank you.
                            </div>
                            <div>Address: {{doctorAddress}}</div>
                            <div>Phone: {{doctorPhone}}</div>
                        </ion-text>
                    </ion-text>

                    <ion-text class="item-text-two" *ngIf="orderAccept === 3">
                        <ion-text *ngIf="sysLang == 'en-us'">
                            Sorry, {{nameLabel}} has {{doctorType > 2 ? 'canceled' : 'rejected'}} your reservation at {{messageLabel}}.
                        </ion-text>
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您好，{{nameLabel}}已{{doctorType > 2 ? '取消' : '拒绝'}}了您 {{messageLabel}} 的预约
                        </ion-text>
                    </ion-text>

                    <ion-text class="item-text-two" *ngIf="orderAccept === 4">
                        <ion-text *ngIf="sysLang == 'en-us'">
                            You has canceled reservation of {{nameLabel}} at {{messageLabel}}.
                        </ion-text>
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您已经取消了 {{nameLabel}} {{messageLabel}} 的预约
                        </ion-text>
                    </ion-text>

                    <ion-text class="item-text-two" *ngIf="orderAccept === 5">
                        <ion-text *ngIf="sysLang == 'en-us'">
                            Your test has been completed at {{nameLabel}} on {{messageLabel}}.
                        </ion-text>
                        <ion-text *ngIf="sysLang != 'en-us'">
                            您在{{nameLabel}} {{messageLabel}} 的预约，已经检测完成。
                        </ion-text>
                    </ion-text>
                </ion-text>
            </div>
        </ion-text>
    </ion-item>
</ion-card>
